home *** CD-ROM | disk | FTP | other *** search
/ J-Mac Electronics & Home Comics / J-Mac Electronics & Home Comics.iso / mac / J-MAC / G32F / G32_HINO.Dxr / 00050.ls < prev    next >
Encoding:
Text File  |  1998-01-22  |  3.3 KB  |  179 lines

  1. global i, g_no, jumplistkey, jumplistkeyz
  2.  
  3. on startMovie
  4.   set mycursor to [1, 2]
  5.   repeat with i = 11 to 19
  6.     set the cursor of sprite i to mycursor
  7.   end repeat
  8.   set jumplistkey to ["G1", "G2", "G3", "G4", "G5", "G6", "G7"]
  9.   set jumplistkeyz to ["Z1", "Z2", "Z3", "Z4", "Z5", "Z6", "Z7"]
  10.   set volset to the soundLevel
  11.   if the soundEnabled = 0 then
  12.     set the soundEnabled to 1
  13.   end if
  14. end
  15.  
  16. on donext
  17.   if (g_no + 1) = 8 then
  18.     set g_no to 0
  19.   end if
  20.   go(getAt(jumplistkey, g_no + 1))
  21. end
  22.  
  23. on doback
  24.   if (g_no - 1) = 0 then
  25.     set g_no to 8
  26.   end if
  27.   go(getAt(jumplistkey, g_no - 1))
  28. end
  29.  
  30. on donextz
  31.   if (g_no + 1) = 8 then
  32.     set g_no to 0
  33.   end if
  34.   go(getAt(jumplistkeyz, g_no + 1))
  35. end
  36.  
  37. on dobackz
  38.   if (g_no - 1) = 0 then
  39.     set g_no to 8
  40.   end if
  41.   go(getAt(jumplistkeyz, g_no - 1))
  42. end
  43.  
  44. on doexit
  45.   sound stop 1
  46.   go("M4", "@::JMACMENU")
  47. end
  48.  
  49. on dolinkm
  50.   sound stop 1
  51.   go(1, "akaTONBO")
  52. end
  53.  
  54. on crtopen1
  55.   puppetSprite(7, 1)
  56.   repeat while the stillDown
  57.     set the memberNum of sprite 7 to 6
  58.     updateStage()
  59.   end repeat
  60.   set the memberNum of sprite 7 to 5
  61.   updateStage()
  62.   puppetSprite(7, 0)
  63. end
  64.  
  65. on crtopen2
  66.   puppetSprite(9, 1)
  67.   repeat while the stillDown
  68.     set the memberNum of sprite 9 to 10
  69.     updateStage()
  70.   end repeat
  71.   set the memberNum of sprite 9 to 9
  72.   updateStage()
  73.   puppetSprite(9, 0)
  74. end
  75.  
  76. on crtclose
  77.   puppetSprite(8, 1)
  78.   repeat while the stillDown
  79.     set the memberNum of sprite 8 to 8
  80.     updateStage()
  81.   end repeat
  82.   set the memberNum of sprite 8 to 7
  83.   updateStage()
  84.   puppetSprite(8, 0)
  85. end
  86.  
  87. on crtback
  88.   puppetSprite(21, 1)
  89.   repeat while the stillDown
  90.     set the memberNum of sprite 21 to 15
  91.     updateStage()
  92.   end repeat
  93.   set the memberNum of sprite 21 to 14
  94.   updateStage()
  95.   puppetSprite(21, 0)
  96. end
  97.  
  98. on crtnext
  99.   puppetSprite(20, 1)
  100.   repeat while the stillDown
  101.     set the memberNum of sprite 20 to 13
  102.     updateStage()
  103.   end repeat
  104.   set the memberNum of sprite 20 to 12
  105.   updateStage()
  106.   puppetSprite(20, 0)
  107. end
  108.  
  109. on crtbackz
  110.   puppetSprite(21, 1)
  111.   repeat while the stillDown
  112.     set the memberNum of sprite 21 to 31
  113.     updateStage()
  114.   end repeat
  115.   set the memberNum of sprite 21 to 30
  116.   updateStage()
  117.   puppetSprite(21, 0)
  118.   puppetSprite(1, 0)
  119. end
  120.  
  121. on crtnextz
  122.   puppetSprite(20, 1)
  123.   repeat while the stillDown
  124.     set the memberNum of sprite 20 to 29
  125.     updateStage()
  126.   end repeat
  127.   set the memberNum of sprite 20 to 28
  128.   updateStage()
  129.   puppetSprite(20, 0)
  130.   puppetSprite(1, 0)
  131. end
  132.  
  133. on crtclose2
  134.   puppetSprite(22, 1)
  135.   repeat while the stillDown
  136.     set the memberNum of sprite 22 to 17
  137.     updateStage()
  138.   end repeat
  139.   set the memberNum of sprite 22 to 16
  140.   updateStage()
  141.   puppetSprite(22, 0)
  142.   puppetSprite(1, 0)
  143. end
  144.  
  145. on crtzexit
  146.   puppetSprite(22, 1)
  147.   repeat while the stillDown
  148.     set the memberNum of sprite 22 to 33
  149.     updateStage()
  150.   end repeat
  151.   set the memberNum of sprite 22 to 32
  152.   updateStage()
  153.   puppetSprite(22, 0)
  154.   puppetSprite(1, 0)
  155. end
  156.  
  157. on crtzoomin
  158.   puppetSprite(23, 1)
  159.   repeat while the stillDown
  160.     set the memberNum of sprite 23 to 19
  161.     updateStage()
  162.   end repeat
  163.   set the memberNum of sprite 23 to 18
  164.   updateStage()
  165.   puppetSprite(23, 0)
  166. end
  167.  
  168. on crtzoomout
  169.   puppetSprite(23, 1)
  170.   repeat while the stillDown
  171.     set the memberNum of sprite 23 to 35
  172.     updateStage()
  173.   end repeat
  174.   set the memberNum of sprite 23 to 34
  175.   updateStage()
  176.   puppetSprite(23, 0)
  177.   puppetSprite(1, 0)
  178. end
  179.